---
version: "3"

services:
  nexus:
    image: {{ nexus_image }}
    container_name: nexus
    restart: unless-stopped
    volumes:
      - "{{ nexus_deploy_path }}/data:/nexus-data"
      - "/usr/share/zoneinfo/Asia/Shanghai:/etc/localtime"
    ports:
      - "{{ nexus_proxy.default_port }}:8081"
      - "{{ nexus_proxy.docker_proxy_port }}:5000"
      - "{{ nexus_proxy.docker_hosted_port }}:5001"
